﻿using System.Collections.Generic;
using AvaloniaApplicationDemo.Models;

namespace AvaloniaApplicationDemo.IServices;

public interface IConfigCSVManager
{
    bool ImportRegisterMappingsFromCsv(string filePath, DeviceModel deviceModel);

    /// <summary>
    /// 导出CSV配置模板
    /// </summary>
    /// <param name="filePath">导出文件路径</param>
    /// <returns>是否导出成功</returns>
    bool ExportConfigTemplate(string filePath, Dictionary<ushort, string> registerMappings);
}